package com.cloudfast.utils.word;

import java.util.HashMap;
import java.util.Map;

/**
 * 下载/替换文件的信息
 */
public class MergeDoc {

    /**
     * 替换的参数
     */
    private Map<String, Object> params = new HashMap<>();

    private String fileNames;

    /**
     * 添加参数
     *
     * @param key
     * @param value
     */
    public void addParams(String key, String value) {
        params.put(key, value);
    }

    public void addImage(String key, WordImage docImage) {
        params.put(key, docImage);
    }

    public Map<String, Object> getParams() {
        return params;
    }

    public String getFileNames() {
        return fileNames;
    }

    public void setFileNames(String fileNames) {
        this.fileNames = fileNames;
    }

}
